-
-
Notifications
You must be signed in to change notification settings - Fork 34.1k
gh-144629: Add test for the PyFunction_GetAnnotations function #144630
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
08edaaf to
5e4d05f
Compare
|
The other test functions in the |
5e4d05f to
323eabd
Compare
|
💯 I agree with @ZeroIntensity. However, I think it would be a good idea to apply the same approach to |
I don't think that it's worth it to modify existing functions, it would only be a coding style change. |
vstinner
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
Thanks @nybblista for the PR, and @vstinner for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14. |
pythonGH-144630) (cherry picked from commit cc81707e406c49c63afc18048e1a221d796ce638) Co-authored-by: Nybblista <170842536+nybblista@users.noreply.github.com>
|
Sorry, @nybblista and @vstinner, I could not cleanly backport this to |
|
GH-144670 is a backport of this pull request to the 3.14 branch. |
3.13 branch lacks |
|
Merged, thanks. |
Add test for the
PyFunction_GetAnnotationsfunction.